package com.parsifal.bluetoothdemo.socket;

import android.bluetooth.BluetoothAdapter;
import android.bluetooth.BluetoothDevice;

/**
 * Created by yangming on 17-4-7.
 */
public abstract class SocketThread implements Runnable {

    private BluetoothAdapter bluetoothAdapter;

    private BluetoothDevice device;

    public SocketThread(BluetoothAdapter bluetoothAdapter, BluetoothDevice device) {
        this.bluetoothAdapter = bluetoothAdapter;
        this.device = device;
    }

    public BluetoothAdapter getBluetoothAdapter() {
        return bluetoothAdapter;
    }

    public BluetoothDevice getDevice() {
        return device;
    }
}
